package com.clinic.dao.interfaces;

import java.util.List;

import com.clinic.domain.Patient;

public interface Patient_dao {

	public String create_patient(Patient p);

	public void update_patient(Patient pt);

	public void delete_patient(int pt_obj_id);

	public Patient get_patient(int pt_obj_id);
	
	public String get_patient(String pt_email_address);
	
	public boolean is_patient_exist(String mail_address);

	public List<Patient> get_all_patients();

	public Patient persistOrMerge(Patient p);
	
	public Patient signin(String email_address ,String passwrd);
	
	public int getsize();
	
	public boolean is_token_valid(String pt_obj_id, String senttoken);
}